package com.salt.modules.log.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author salt
 * @Date 2023/4/19
 * @Version 1.0.1
 */
@Data
@Component
@ConfigurationProperties(prefix = "salt.elasticsearch")
public class ElasticsearchProps {

    private String host;
    private int port;
}
